package com.foreverwin.jzymes.common.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.util.Date;
import java.util.Date;

/**
 * AGV上报记录表 Z_AGV_REQ_LOG
 * 
 * @author ervin
 * @date 2019-05-10
 */
public class AgvReqLog
{
	private static final long serialVersionUID = 1L;
	
	/** 主键 */
	private String handle;
	/** 站点 */
	private String site;
	/** 机种 */
	private String machineType;
	/** 接驳站 */
	private String tranship;
	/** AGV编号 */
	private String agv;
	/** AGV运送盘数 */
	private Long trayQty;
	/** 物料类型(P:生料，M:熟料) */
	private String itemType;
	/** 发送时间 */
	private Date sendTime;
	/** 创建时间 */
	private Date createdDateTime;

	public void setHandle(String handle) 
	{
		this.handle = handle;
	}

	public String getHandle() 
	{
		return handle;
	}
	public void setSite(String site) 
	{
		this.site = site;
	}

	public String getSite() 
	{
		return site;
	}
	public void setMachineType(String machineType) 
	{
		this.machineType = machineType;
	}

	public String getMachineType() 
	{
		return machineType;
	}
	public void setTranship(String tranship) 
	{
		this.tranship = tranship;
	}

	public String getTranship() 
	{
		return tranship;
	}
	public void setAgv(String agv) 
	{
		this.agv = agv;
	}

	public String getAgv() 
	{
		return agv;
	}
	public void setTrayQty(Long trayQty) 
	{
		this.trayQty = trayQty;
	}

	public Long getTrayQty() 
	{
		return trayQty;
	}
	public void setItemType(String itemType) 
	{
		this.itemType = itemType;
	}

	public String getItemType() 
	{
		return itemType;
	}
	public void setSendTime(Date sendTime) 
	{
		this.sendTime = sendTime;
	}

	public Date getSendTime() 
	{
		return sendTime;
	}
	public void setCreatedDateTime(Date createdDateTime) 
	{
		this.createdDateTime = createdDateTime;
	}

	public Date getCreatedDateTime() 
	{
		return createdDateTime;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("handle", getHandle())
            .append("site", getSite())
            .append("machineType", getMachineType())
            .append("tranship", getTranship())
            .append("agv", getAgv())
            .append("trayQty", getTrayQty())
            .append("itemType", getItemType())
            .append("sendTime", getSendTime())
            .append("createdDateTime", getCreatedDateTime())
            .toString();
    }
}
